//
//  CheckBoxCell.m
//  Project6
//
//  Created by ToanDK on 11/23/12.
//  Copyright (c) 2012 DungNP. All rights reserved.
//

#import "SliderCell.h"


@implementation SliderCell
@synthesize valueLalel;
@synthesize valueSlider;
@synthesize strPostfixValue;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.strPostfixValue = @"";
    }
    return self;
}



-(void)drawRect:(CGRect)rect{
    [super drawRect:rect];
//    [self.contentView setBackgroundColor:[UIColor clearColor]];
//    [self setBackgroundView:nil];
//    [self setBackgroundColor:[UIColor clearColor]];

}
-(IBAction)sliderChangedValue:(id)sender
{
    valueLalel.text = [NSString stringWithFormat:@"%d %@", (int)((UISlider*)sender).value, self.strPostfixValue];
}
@end
